package com.hksj.cbm.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zengke
 * @version 1.0
 * @see DeviceMetadataParseInfoVO
 * @since 2024/08/31 9:41
 */

@Data
public class DeviceMetadataParseInfoVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "属性类型(temperature、humidity等)")
    private String property;

    @ApiModelProperty(value = "属性类型名称")
    private String propertyName;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "数据类型")
    private String type;

    @ApiModelProperty(value = "属性对应的字符值(可能推送的属性不一定为数字类型的数据)")
    private String value;

    @ApiModelProperty(value = "属性对应的数字值")
    private Double numberValue;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty("报警状态(0正常，1报警)")
    private Integer status;
}
